package cn.hwh.springframework.context.event;

import cn.hwh.springframework.context.ApplicationEvent;
import cn.hwh.springframework.context.ApplicationListener;

/**
 * @author wenhao hu
 * @title: ApplicationEventMulticaster
 * @projectName mini-spring
 * @description: TODO
 * @date 2022/2/1514:48
 */
public interface ApplicationEventMulticaster {
    void addApplicationListener(ApplicationListener<?> listener);

    void removeApplicationListener(ApplicationListener<?> listener);

    void multicastEvent(ApplicationEvent event);
}
